import request from '@/utils/request'

export function saveDescription(data) {
  return request({
    url: '/saveDescription',
    method: 'post',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA
  })
}

export function selectTableList(data) {
  return request({
    url: '/triage/list',
    method: 'get',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}

export function dispatcheTriageSummaryCounts(data) {
  return request({
    url: '/dispatcheTriageSummaryCounts',
    method: 'get',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}
export function dispatcheTriageSummaryCountsToday(data) {
  return request({
    url: '/dispatcheTriageSummaryCountsToday',
    method: 'get',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}

export function getDepartmentList(data) {
  return request({
    url: '/getDepartmentList',
    method: 'get',
    params: data,
    baseURL: process.env.VUE_APP_BASE_API_DATA_BRANCH
  })
}
